package com.java.androidmarket.entity;

import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * description:
 * author:张腾
 * date:2021-05-15
 */

@Data
@Accessors(chain = true)
@ToString
public class Order implements Serializable {

    private int orderId;
    private String orderSn;
    private int userId;
    private String orderAddress;
    private String orderPhone;
    private String orderUname;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String createTime;
    //0 待支付
    //1 待评价
    //2 已评价
    //-1 已关闭
    private int orderStatus;
    private double orderTotalPrice;

}


